package com.lavida.project.system.performance.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lavida.project.system.papers.domain.Papers;
import com.lavida.project.system.performance.domain.Performance;

public interface PerformanceMapper {
	//查询
	List<Performance> selectPerformance(Performance performance,@Param("dates_from")String dates_from,
			@Param("dates_to")String dates_to);
	//导入增加
	int insertPerformance (Performance performance);
	
	//增加
	int insertPerformances (Performance performance);
	
	//根据id查
	Performance getPerformanceById(int id);
	
	//根据工号查
	List<Performance> getPerformanceByjobId(int job_id);
	
	//修改
	int updatePerformance(Performance performance);
	
	//删除
	int deletePerformance(int id);
}
